# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=telepathy-mission-control
pkgver=5.16.6
pkgrel=0
pkgdesc="An account manager and channel dispatcher for the Telepathy framework"
url="https://telepathy.freedesktop.org"
# s390x and riscv64 blocked by polkit -> networkmanager
arch="all !s390x !riscv64"
license="LGPL-2.1-or-later"
makedepends="python3 libxslt dbus-dev dbus-glib-dev telepathy-glib-dev glib-dev
	networkmanager-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://telepathy.freedesktop.org/releases/telepathy-mission-control/telepathy-mission-control-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="56d62bc7270d2d62a490361f3ef3bc39384fde05ee5d69cb7e20db4f41665bd99d05b4cd2b5992b84dbfee5400684503e44c5b8c63cfa101e0cfe6a85b005e5e  telepathy-mission-control-5.16.6.tar.gz"
